package exp1;

/**
 * Created by mc on 2017/4/7.
 */
public class duandian {
 public static void main(String[] args) {
    int i = 5;
   int j = 6;
    int sum = add(i, j);
    System.out.println(sum);

    sum = 0;
      for(i=0; i< 100; i++)
         sum += i;

    System.out.println(sum);
 }

  public static int add(int augend, int addend){
     int sum = augend + addend;
      return sum;
  }
}